﻿using UnityEngine;

namespace BToolkit
{
    [RequireComponent(typeof(BButton))]
    public class BtnCloseARVideo : MonoBehaviour
    {
        void Awake()
        {
            GetComponent<BButton>().AddClick(() =>
            {
                Camera.main.GetComponentInChildren<OffCardController>().SwapToTracking();
            });
        }
    }
}